import pygame
import os
from pygame.locals import *
from defs import *

class RabbitScoreboard(pygame.sprite.Sprite):
   
   #asdf
	
   score = 0
   lives = 3
   
   jump = 0
	
   def __init__(self):
		pygame.sprite.Sprite.__init__(self)
		self.font = pygame.font.Font(None, FONT_SIZE_2)

	
   def update(self):
      lives_str = "Rabbit Lives: " + str(self.lives)# + "   " + "Jumps" + str(self.jump)
      stats_str = lives_str
      
      self.image = self.font.render(stats_str, True, (255, 255, 255))
      self.rect = self.image.get_rect()
      self.rect.top = 10
      self.rect.right = SCREENRECT.width - 10